// @import 'var.scss';

/*
  自定义 弹窗提示样式
*/
.cofirm-box {
  width: 249px;
  text-align: center;
  background: var(--messagebox-background-color);
  border-color: var(--messagebox-background-color);

  &--large {
    width: 400px;

    .el-message-box__container {
      display: flex;
      font-size: 14px;
      color: var(--messagebox-message-color);
      justify-content: center;

      .el-message-box__status {
        position: static;
        display: flex;
        margin-right: 10px;
        font-size: 16px !important;
        color: #ea6343;
        transform: translateY(0);
        align-items: center;
      }

      .el-message-box__status + .el-message-box__message {
        padding-right: 0;
        padding-left: 0;
      }
    }

    .el-message-box__message p {
      line-height: inherit;
    }
  }

  .el-message-box__header {
    padding: 30px 0;
    text-align: center;

    .el-message-box__title {
      font-size: 16px;
      color: var(--messagebox-title-color);
    }
  }

  .el-message-box__btns {
    padding: 30px 0;
    text-align: center;
    justify-content: center;

    button {
      padding: 6px 18px;
      border-radius: 12px;
    }

    button:first-child {
      color: var(--messagebox-cancel-color);
      background: var(--messagebox-cancel-background-color);
      border-color: var(--messagebox-cancel-background-color);

      &:hover,
      &:focus {
        background: var(--messagebox-cancel-hover-background-color);
      }
    }
  }
}

.my-message {
  top: 50% !important;
  width: 250px;
  height: 190px;
  min-width: 100px;
  color: white;
  background: #282b32;
  border-color: #282b32;
  border-radius: 6px;
  transform: translateX(-50%) translateY(-50%);
  flex-direction: column;

  .el-message__icon {
    font-size: 80px;
  }

  .el-message__content {
    margin-top: 20px;
  }
}
